﻿div.calendar
{
    display: inline-block;
    overflow-y: auto;
}

div.calendar > div.toolbar
{
    text-align: center;
    background-color: #336699;
    vertical-align: middle;
    padding: 5px 0;
    font-weight: bold;
}

div.calendar > div.toolbar > div.prev-month
{
    float: left;
    margin-left: 10px;
    cursor: pointer;
    color: #FFFFFF;
}

div.calendar > div.toolbar > div.next-month
{
    float: right;
    margin-right: 10px;
    cursor: pointer;
    color: #FFFFFF;
}

div.calendar > div.toolbar > div.current-month
{
    font-family: Verdana;
    font-size: 12px;
    height: 16px;
}

div.calendar > div.toolbar > div.current-month > select.year
{
    margin: 0 10px;
    width: 60px;
}
div.calendar > div.toolbar > div.current-month > select.month
{
    margin: 0 10px;
    width: 100px;
}
div.calendar > div.toolbar > div.current-month > span.year
{
    margin: 0 10px;
    color: #FFFFFF;
}
div.calendar > div.toolbar > div.current-month > span.month
{
    margin: 0 10px;
    color: #FFFFFF;
}

div.calendar > table
{
}

div.calendar > table > thead
{
}

div.calendar > table > thead > tr
{
}

div.calendar > table > thead > tr > th
{
    background-color: #CCCC99;
    text-align: right;
    height: 20px;
    padding-right: 5px;
    color: #637E99;
    font-family: Verdana;
    font-size: 12px;
    border: 1px solid #CCC996;
}

div.calendar > table > thead > tr > th.saturday, div.calendar > table > thead > tr > th.sunday
{
    /*background-color: #FFFFBC;*/
}

div.calendar > table > tbody > tr > td
{
    width: 135px;
    border: 1px solid #CCC996;
}

div.calendar > table > tbody > tr > td.in
{
    background-color: #FFFFCC;
}

div.calendar > table > tbody > tr > td > div.day
{
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: #637E99;
    padding-right: 5px;
}

div.calendar > table > tbody > tr > td > div.day > div.basic
{
    position: relative;
    text-align: right;
    height: 20px;
    min-height: 20px;
    max-height: 20px;
}

div.calendar > table > tbody > tr > td > div.day > div.advanced
{
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 50px;
    max-height: 50px;
    overflow-y: auto;
}
div.calendar > table > tbody > tr > td > div.day > div.advanced > ul > li
{
    list-style: disc inside none;
    margin-left: 3px;
    color: Red;
}
div.calendar > table > tbody > tr > td > div.day > div.advanced > ul > li.task
{
    color: blue;
}
div.calendar > table > tbody > tr > td > div.day > div.advanced > ul > li.task > a
{
    color: blue;
}
div.calendar > table > tbody > tr > td > div.day > div.advanced > ul > li.event
{
    color: Red;
}
div.calendar > table > tbody > tr > td > div.day > div.advanced > ul > li.event > a
{
    color: Red;
}
div.calendar > table > tbody > tr > td.saturday, div.calendar > table > tbody > tr > td.sunday
{
    background-color: #FFFFBC;
}

div.calendar > table > tbody > tr > td.out
{
    background-color: #FFFFFF;
}

/* tooltip */
#tooltip
{
    background: none repeat scroll 0 0 #F7F5D1;
    border: 1px solid #333333;
    color: #333333;
    display: none;
    padding: 2px 5px;
    position: absolute;
    width: 200px;
}

#tooltip pre
{
    background: none repeat scroll 0 0 #E3F4F9;
    border: 1px solid #BAE2F0;
    display: block;
    font: 100% "Courier New" ,Courier,monospace;
    margin: 0.5em 0;
    overflow: auto;
    padding: 10px;
    width: 800px;
}

/* Spesific styles */
div.calendar > table.eventinhover > tbody > tr > td
{
    width: 32px;
}
div.calendar > table.eventinhover > thead > tr > th
{
    font-size: 11px;
    font-weight: normal;
}
div.calendar > table.eventinhover div.day > div.basic
{
    color: #637E99;
}
div.calendar > table.eventinhover div.day > div.basic > a
{
    color: #637E99;
}
div.calendar > table.eventinhover div.has-event > div.basic
{
    color: Red;
}
div.calendar > table.eventinhover div.has-event > div.basic > a
{
    color: Red;
}
div.calendar > table.eventinhover div.day > div.basic > a:hover
{
    text-decoration: underline;
}